<?php
namespace app\admin\controller;
use app\admin\controller\Common;
use think\Config;
use think\Env;
use think\Request;
use think\Controller;
use think\Db;
use app\admin\model\AdminModel;
use app\index\model\UserModel;
use app\admin\model\NewsModel;
class Index extends Common
{
	//admin首页
	public function index()
	{
		return $this->fetch('index/index');
	}
	public function login(){
		return $this->fetch('login/login');
	}
	

	//图片添加
	public function pic_upload(){
		return $this->fetch('index/pic_upload');
	}

	//新闻添加
	public function news_add(){
		return $this->fetch('index/news_add');
	}

	//admin下功能
	public function admin_add(){
		return $this->fetch('index/admin_add');
	}
	public function pagesadmin_add(){
		return $this->fetch('admin/frame/pages/admin_add');
	}
	public function pagesnews_add(){
		return $this->fetch('admin/frame/pages/news_add');
	}
	public function pagesuser_add(){
		return $this->fetch('admin/frame/pages/user_add');
	}
	public function pagespic_add(){
		return $this->fetch('admin/frame/pages/pic_upload');
	}



	public function q404(){
		return $this->fetch('index/404');
	}
	public function q500(){
		return $this->fetch('index/500');
	}
	public function agile_board(){
		return $this->fetch('index/agile_board');
	}
	public function article(){
		return $this->fetch('index/article');
	}
	public function badges_labels(){
		return $this->fetch('index/badges_labels');
	}
	public function blog(){
		return $this->fetch('index/blog');
	}
	public function blueimp(){
		return $this->fetch('index/blueimp');
	}
	public function buttons(){
		return $this->fetch('index/buttons');
	}
	public function calendar(){
		return $this->fetch('index/calendar');
	}

	public function carousel(){
		return $this->fetch('index/carousel');
	}
	public function chat_view(){
		return $this->fetch('index/chat_view');
	}
	public function clients(){
		return $this->fetch('index/clients');
	}
	public function code_editor(){
		return $this->fetch('index/code_editor');
	}
	public function contacts(){
		return $this->fetch('index/contacts');
	}
	public function css_animation(){
		return $this->fetch('index/css_animation');
	}
	public function diff(){
		return $this->fetch('index/diff');
	}
	public function draggable_panels(){
		return $this->fetch('index/draggable_panels');
	}
	public function empty_page(){
		return $this->fetch('index/empty_page');
	}
	public function faq(){
		return $this->fetch('index/faq');
	}
	public function file_manager(){
		return $this->fetch('index/file_manager');
	}
	public function fontawesome(){
		return $this->fetch('index/fontawesome');
	}
	public function form_advance(){
		return $this->fetch('index/form_advance');
	}
	public function form_avatar(){
		return $this->fetch('index/form_avatar');
	}

	public function form_basic(){
		return $this->fetch('index/form_basic');
	}
	public function form_builder(){
		return $this->fetch('index/form_builder');
	}
	public function form_editors(){
		return $this->fetch('index/form_editors');
	}
	public function form_file_upload(){
		return $this->fetch('index/form_file_upload');
	}
	public function form_markdown(){
		return $this->fetch('index/form_markdown');
	}
	

	public function form_simditor(){
		return $this->fetch('index/form_simditor');
	}
	public function form_validate(){
		return $this->fetch('index/form_validate');
	}
	public function form_webuploader(){
		return $this->fetch('index/form_webuploader');
	}
	public function form_wizard(){
		return $this->fetch('index/form_wizard');
	}
	public function forum_main(){
		return $this->fetch('index/forum_main');
	}
	public function glyphicons(){
		return $this->fetch('index/glyphicons');
	}
	public function graph_echarts(){
		return $this->fetch('index/graph_echarts');
	}
	public function graph_flot(){
		return $this->fetch('index/graph_flot');
	}
	public function graph_metrics(){
		return $this->fetch('index/graph_metrics');
	}
	public function graph_morris(){
		return $this->fetch('index/graph_morris');
	}
	public function graph_peity(){
		return $this->fetch('index/graph_peity');
	}
	public function graph_rickshaw(){
		return $this->fetch('index/graph_rickshaw');
	}
	public function graph_sparkline(){
		return $this->fetch('index/graph_sparkline');
	}
	public function grid_options(){
		return $this->fetch('index/grid_options');
	}
	public function iconfont(){
		return $this->fetch('index/iconfont');
	}
	public function index_v2(){
		return $this->fetch('index/index_v2');
	}
	public function index_v3(){
		return $this->fetch('index/index_v3');
	}
	public function index_v4(){
		return $this->fetch('index/index_v4');
	}
	public function index_v5(){
		return $this->fetch('index/index_v5');
	}
	public function invoice(){
		return $this->fetch('index/invoice');
	}

	public function invoice_print(){
		return $this->fetch('index/invoice_print');
	}
	public function jstree(){
		return $this->fetch('index/jstree');
	}
	public function layer(){
		return $this->fetch('index/layer');
	}
	public function layerdate(){
		return $this->fetch('index/layerdate');
	}


	public function layerphotos(){
		return $this->fetch('index/layerphotos');
	}
	public function layouts(){
		return $this->fetch('index/layouts');
	}
	public function lockscreen(){
		return $this->fetch('index/lockscreen');
	}
	public function login_v2(){
		return $this->fetch('index/login_v2');
	}
	public function mail_compose(){
		return $this->fetch('index/mail_compose');
	}
	public function mail_detail(){
		return $this->fetch('index/mail_detail');
	}
	public function mailbox(){
		return $this->fetch('index/mailbox');
	}
	public function modal_window(){
		return $this->fetch('index/modal_window');
	}
	public function nestable_list(){
		return $this->fetch('index/nestable_list');
	}
	public function notifications(){
		return $this->fetch('index/notifications');
	}
	public function pin_board(){
		return $this->fetch('index/pin_board');
	}
	public function plyr(){
		return $this->fetch('index/plyr');
	}
	public function profile(){
		return $this->fetch('index/profile');
	}
	public function project_detail(){
		return $this->fetch('index/project_detail');
	}
	public function projects(){
		return $this->fetch('index/projects');
	}
	public function register(){
		return $this->fetch('index/register');
	}
	public function search_results(){
		return $this->fetch('index/search_results');
	}
	public function social_feed(){
		return $this->fetch('index/social_feed');
	}
	public function spinners(){
		return $this->fetch('index/spinners');
	}
	public function suggest(){
		return $this->fetch('index/suggest');
	}
	public function sweetalert(){
		return $this->fetch('index/sweetalert');
	}
	public function table_basic(){
		return $this->fetch('index/table_basic');
	}
	public function table_bootstrap(){
		
		return $this->fetch('index/table_bootstrap');
	}
	public function table_data_tables(){
		return $this->fetch('index/table_data_tables');
	}
	
	public function table_foo_table(){
		return $this->fetch('index/table_foo_table');
	}
	
	public function table_jqgrid(){
		return $this->fetch('index/table_jqgrid');
	}

	public function tabs_panels(){
		return $this->fetch('index/tabs_panels');
	}
	public function teams_board(){
		return $this->fetch('index/teams_board');
	}
	public function timeline(){
		return $this->fetch('index/timeline');
	}
	
	public function timeline_v2(){
		return $this->fetch('index/timeline_v2');
	}
	public function toastr_notifications(){
		return $this->fetch('index/toastr_notifications');
	}
	public function tree_view(){
		return $this->fetch('index/tree_view');
	}
	public function typography(){
		return $this->fetch('index/typography');
	}
	public function webim(){
		return $this->fetch('index/webim');
	}
	public function widgets(){
		return $this->fetch('index/widgets');
	}
	
}
